import {
  axios
} from '@/utils/request'
// 业绩
export function getKpiList () {
  return axios({
    url: '/user/kpi/KpiList',
    method: 'get',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    }
  })
}

export function getKpiAll () {
  return axios({
    url: '/user/kpi/all_kpi',
    method: 'get',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    }
  })
}

export function dateKpi (parameter) {
  return axios({
    url: '/user/kpi/date_kpi',
    method: 'post',
    data: parameter
  })
}
